package cn.zktr.Personnel.controllers.zhouyongcong.end;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import cn.zktr.Personnel.model.pojos.PerPmsFun;
import cn.zktr.Personnel.model.pojos.PerPmsPes;
import cn.zktr.Personnel.model.service.zhouyongcong.end.hopapapeService;

@Controller
public class homapapeController {
	@Autowired
	private hopapapeService hs;
	
	@RequestMapping("tail-1")
	@ResponseBody
	public List<PerPmsPes> tail_1(int empid){
		return hs.tail_1(empid);
	}
	
	@RequestMapping("tail-2")
	@ResponseBody
	public List<PerPmsFun> tail_2(int empid,String tatext){
		return hs.tail_2(empid,tatext);
	}
	
	@RequestMapping("tail-3")
	@ResponseBody
	public List<PerPmsFun> tail_3(int empid,String tatext){
		return hs.tail_3(empid,tatext);
	}
}
